Piwik\Http D

Total Complexity 186
Dependencies 14
Dependents 35
Total lines 842
Lines of code 555
Logical lines of code 378
Comment lines 265
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
sendHttpRequestBy()
D
2
130 373
downloadChunk()
A
44 12 38
convertWildcardToPattern()
S
55 5 19
getProxyConfiguration()
S
54 4 20
parseHeaderLine()
S
58 4 15
getTransportMethod()
S
61 4 13
getClientHintsFromServerVariables()
S
63 4 10
ensureDestinationDirectoryExists()
S
62 4 10
getModifiedSinceHeader()
S
63 3 10
configCurlCertificate()
S
64 2 9
getUserAgent()
S
76 2 3
sendHttpRequest()
S
69 2 5
truncateStr()
S
70 2 6
isCurlEnabled()
S
78 2 3
isUpdatingOverHttps()
S
71 2 5
buildQuery()
S
78 1 3
buildHeadersForPost()
S
72 1 5
isSocketEnabled()
S
80 1 3
fetchRemoteFile()
S
71 1 5